package com.spring.le.dao.impl;

import com.spring.le.dao.AddressDao;
import com.spring.le.model.Address;
import lombok.Setter;

public class AddressDaoImpl implements AddressDao {
    @Setter
    private int dataBaseId;
    @Override
    public Address selectById(int id) {
        System.out.println("impl1-databaseID"+dataBaseId);
        Address address = new Address();
        address.setName("LiSi");
        address.setAddress("hebei");
        address.setPhone(123124);
        address.setId(1);
        return address;
    }
}
